package com.arpa.wms.mapper;

import com.arpa.wms.domain.dto.PackingMaterialRecordDTO;
import com.arpa.wms.domain.entity.PackingMaterialRecord;
import com.arpa.wms.domain.vo.PackingMaterialRecordVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 包材记录 Mapper 接口
 * </p>
 *
 * @author rfwang
 * @since 2021-08-26
 */
public interface PackingMaterialRecordMapper extends BaseMapper<PackingMaterialRecord> {

    /**
     * 查询列表
     * @param packingMaterialRecord
     * @return
     */
    List<PackingMaterialRecordVO> queryList(PackingMaterialRecordDTO packingMaterialRecord);

    /**
     * 查询合计,包含总数
     * @param packingMaterialRecord
     * @return
     */
    PackingMaterialRecordVO queryListSum(PackingMaterialRecordDTO packingMaterialRecord);

}
